<?php

	require_once '../../../Class/config.php';
	$objcfg = new config();
	require_once ($_SERVER["DOCUMENT_ROOT"]."/".$objcfg->objEnd."/Class/geral.php");

    $geral = new Geral();
    require_once ($geral->conexao());
    require_once ($geral->tipoRecipiente()); 

    $objTipRec = new TipoRecipiente();
    
    $objTipRec->setId($_POST["id"]);
    $objTipRec->setDesc($_POST["desc"]);
    $objTipRec->setSigla($_POST["sigla"]);
        
    $objTipRec->alterar();

?>